package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingLevel;
import com.zzyl.vo.NursingLevelVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingLevelMapper {
    //查询所有的护理项目
    List<NursingLevelVo> getAll();

//分页查询护理等级
    Page<NursingLevelVo> listByPage(Integer pageNum, Integer pageSize, String name, Integer status);
//新增护理接口
    void insert(NursingLevel nursingLevel);
//根据ID查询
    NursingLevel getById(Long id);
//更改等级条目
    void update(NursingLevel nursingLevel);
//根据ID删除条目
    void delete(Long id);
}
